//-----------------------------------------------------------------------
// <copyright file="PersonRelationship.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models
{
    /// <summary>
    /// Identifies two people and the nature of their relationship.
    /// </summary>
    public class PersonRelationship
    {
        #region Instance Properties

        [BsonId]
        public ObjectId _id { get; set; }

        public ObjectId PersonId { get; set; }

        public ObjectId RelatedPersonId { get; set; }

        public ObjectId? RefPersonRelationshipId { get; set; }

        public bool? CustodialRelationshipIndicator { get; set; }

        public bool? EmergencyContactInd { get; set; }

        public ObjectId? ContactPriorityNumber { get; set; }

        public string ContactRestrictions { get; set; }

        public bool? LivesWithIndicator { get; set; }

        public bool? PrimaryContactIndicator { get; set; }

        #endregion Instance Properties
}

}